Search Analytics API now supports Discover, Google News, and Regex
Stay organized with collections
Save and categorize content based on your preferences.
Monday, October 25, 2021
The Google Search Console Performance reports already show data about Search,
Discover, and Google News to site owners that have this type of traffic. Since we launched the Discover
and Google News performance reports, we’ve been receiving requests from
users to also add these stats to the Search Analytics API.
We are happy to announce that this is happening today.
The searchType parameter, which previously enabled you to filter API calls by news,
video, image, and web, will be renamed to
type and will support two additional parameters: discover (for Google Discover) and
googleNews (for Google News). Please note that while we renamed the parameter to type,
we’re still supporting the old name searchType.
In the Search Console Performance reports, some metrics and dimensions are compatible only with some data types; for example, queries and positions are not supported by
the Google Discover report. In the same way, if an unsupported dimension is requested, the API will return an error message.
In addition, we are adding Regex support to the query and page dimensions.
Two new operators will be added to the existing match operations: includingRegex and excludingRegex.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],[],[[["Google Search Console's Search Analytics API now includes data for Discover and Google News, alongside existing Search data."],["The API's `searchType` parameter is renamed to `type` and supports new values `discover` and `googleNews` for filtering data."],["Unsupported dimensions with certain data types will result in error messages from the API, aligning with the Search Console Performance reports' behavior."],["Regex support is added to the API's query and page dimensions with new operators `includingRegex` and `excludingRegex` for enhanced filtering."]]],["Google Search Console's API now includes data for Google Discover and Google News, accessible via new `discover` and `googleNews` parameters within the renamed `type` parameter (formerly `searchType`). The API will return an error if unsupported dimensions are requested. Regex support has been added to query and page dimensions, with `includingRegex` and `excludingRegex` operators. Users can learn more through documentation and the Search Central community.\n"]]